package org.one.afternoon.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class DetectionsDto {
    private String category;
    private Double confidence;
    @JsonProperty("box")
    private BoxDto boxDto;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public DetectionsDto(String category, Double confidence, BoxDto boxDto) {
        this.category = category;
        this.confidence = confidence;
        this.boxDto = boxDto;
    }

    public DetectionsDto() {

    }
}
